Skip to content

Apply stage selector to Tideways and Rumvision tasks - #205

Merged
poespas merged 1 commit into
masterfrom
apply-stage-selector-after-deploy-tasks
Nov 9, 2026
Merged

poespas merged 1 commit into
masterfrom
apply-stage-selector-after-deploy-tasks

Conversation

@poespas

@poespas poespas commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

After-deploy tasks now apply setStage() to the task they register (deploy:tideways / deploy:rumvision), so they only run on that stage.

$production = $configuration->addStage('production', 'example.com');

$tideways = new Tideways(apiKey: getenv('TIDEWAYS_API_KEY'));
$tideways->setStage($production);
$configuration->addAfterDeployTask($tideways);

getStage() is read by DeployRunner::configureDeployerTask() when registering the task.

@poespas
poespas merged commit 2758753 into master Nov 9, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants